package yf.mall.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 月销实体
 * 表名 month_share
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Oct 07 17:01:18 CST 2021
 */
@Setter
@Getter
public class MonthShareEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
        //用户ID
    private Long userId;
        //数量
    private Integer quantity;
        //相关订单
    private String orderNo;
        //基金池
    private BigDecimal amount;
        //时间
    private Date time;
        //是否是团队 团队的就老客户购买也会给上级增加单数
    private Integer team;
        //起止时间
    Date[] times;
    
    public MonthShareEntity(){

    }

    public MonthShareEntity(Long userId, Integer quantity, String orderNo, Date time,BigDecimal amount,Integer team) {
        this.userId = userId;
        this.quantity = quantity;
        this.orderNo = orderNo;
        this.time = time;
        this.amount = amount;
        this.team = team;
    }
}
